﻿using Common.Communal;
using MediatR;

namespace Sell.Api.Write.Application.Command.GoodCommand
{
    public class GoodAddCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 货品编号
        /// </summary>
        public string GoodCode { get; set; }
        /// <summary>
        /// 货品名称
        /// </summary>
        public string GoodName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int GoodState { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Company { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public int CustomerId { get; set; }
        /// <summary>
        /// 入库参考/价
        /// </summary>
        public decimal Rprice { get; set; }
        /// <summary>
        /// 出库参考价/元
        /// </summary>
        public decimal Cprice { get; set; }
    }
}
